package cn.wk.org.controller;

import cn.wk.org.domain.Employee;
import cn.wk.org.service.IEmployeeService;
import cn.wk.basic.utils.AjaxResult;
import cn.wk.basic.utils.PageBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/employee")
public class EmployeeController {
    @Autowired
    private IEmployeeService employeeService;

    @PostMapping("/findManager")
    public List<Employee> findManager(){
        return employeeService.findManager();
    }

}
